import '@ant-design/v5-patch-for-react-19';
import './styles/index.less';
import { StrictMode } from 'react';
import { MainModal } from '@hdtd/components';
import { createRoot } from 'react-dom/client';
import { RouterProvider } from 'react-router';
import router from './router';

createRoot(document.getElementById('root')!).render(
  <StrictMode>
    <MainModal>
      <RouterProvider router={router} />
    </MainModal>
  </StrictMode>
);
